package com.by.hellosecurityoauth2.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 角色(TRole)
 *
 * @author 白羽
 * @Date 2022-12-13 09:15:55
 */

@ApiModel
@Setter
@Getter
@ToString
@Entity
@Table(name = "t_role")
public class TRole implements Serializable {

    private static final long serialVersionUID = 403122655086449798L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;

    @ApiModelProperty(value = "角色名称")
	@Column(name = "role_name")
    private String roleName;
    

}